/**
* Example ISLT program.
*/  
// The outline of the XML database
xml { catalog { cd { artist, title, country, company, year, price } } }

// Start a standard HTML page.
template {
	
	// Display all database items after 1995
    <strong>Albums from after 1995</strong>
    <table border="1">
    <tr bgcolor="#9acd32">
    	<th>Title</th>
    	<th>Artist</th>
    	<th>Year</th>
 	</tr>
    for-each (catalog/cd) {
        if (year>1995) {
        	<tr>
        		<td>value-of(artist)</td>
    			<td>value-of(title)</td>
    			<td>value-of(year)</td>
    		</tr>
    	}
    }
    </table>
}